<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>

<head>
</head>

<body>
<div class="am-container header">
    <ul class="message-l">
        <div class="topMessage">
            <div class="menu-hd">
                <c:choose>
                    <c:when test="${login !=null}">
                        尊敬的会员 <a href="#" target="_top" class="h"> ${login.userName} </a> 您好！
                    </c:when>
                    <c:otherwise>
                        <a href="/front/login" target="_top" class="h">亲，请登录</a>
                        <a href="/user/register" target="_top">免费注册</a>
                    </c:otherwise>
                </c:choose>
            </div>
        </div>
    </ul>
    <ul class="message-r">
        <div class="topMessage home">
            <div class="menu-hd"><a href="/front/home" target="_top" class="h">商城首页</a></div>
        </div>
        <div class="topMessage my-shangcheng">
            <div class="menu-hd MyShangcheng">
                <c:choose>
                    <c:when test="${login !=null}">
                        <a href="/user/index" target="_top"><i class="am-icon-user am-icon-fw"></i>个人中心</a>
                        </c:when>
                    <c:otherwise>
                        <a href="/front/login" target="_top"><i class="am-icon-user am-icon-fw"></i>个人中心</a>
                    </c:otherwise>
                </c:choose>
            </div>
        </div>
        <div class="topMessage mini-cart">
            <div class="menu-hd">
                <c:choose>
                    <c:when test="${login !=null}">
                        <a id="mc-menu-hd" href="/front/show" target="_top"><i
                            class="am-icon-shopping-cart  am-icon-fw"></i><span>购物车</span></a>
                    </c:when>
                    <c:otherwise>
                        <a id="mc-menu-hd" href="/front/login" target="_top"><i
                                class="am-icon-shopping-cart  am-icon-fw"></i><span>购物车</span></a>
                    </c:otherwise>
                </c:choose>
            </div>
        </div>
    </ul>
</div>
<div class="nav white">
   <!-- <div class="logo"><img src="../images/logo.png"/></div>-->
    <div class="logoBig">
        <li><img src="../images/logobig.png"/></li>
    </div>

    <div class="search-bar pr">
        <a name="index_none_header_sysc" href="#"></a>
        <form action="/user/search" method="post">
            <input id="searchInput" name="searchInput" type="text" placeholder="搜索" autocomplete="off">
            <input id="ai-topsearch" class="submit am-btn" value="搜索" index="1" type="submit">
        </form>
    </div>
</div>
</body>

</html>